package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 12786 on 2019/3/25.
 * @version 1.0
 */
@Data
@ApiModel(value = "LocationReq")
public class LocationReq {

    @ApiModelProperty(value = "当前位置经度")
    @NotBlank(message = "longitude经度不能为空")
    private String longitude;

    @ApiModelProperty(value = "当前位置维度")
    @NotBlank(message = "latitude维度")
    private String latitude;

    @ApiModelProperty(value = "距离 默认公里数")
    private Integer distance;

    @ApiModelProperty(value = "分站Id")
    private Long agentId;


    @ApiModelProperty(value = "服务大类")
    private String type;

    @ApiModelProperty(value = "服务子类型")
    private Long childType;
}
